package com.xiaolei48.service;

import com.xiaolei48.entity.Foods;

import java.util.List;

/**
 * 菜品信息 业务逻辑接口
 */
public interface FoodsService {

    /**
     * 添加菜品信息
     * @param foods
     * @return
     */
    boolean doAddFoodsInfo(Foods foods);

    /**
     * 修改菜品信息
     * @param foods
     * @return
     */
    boolean doModifyFoodsInfo(Foods foods);

    /**
     * 删除菜品信息
     * @param foods
     * @return
     */
    boolean doDeleteFoodsInfo(Foods foods);

    /**
     * 获取菜品信息
     * @param foods
     * @return
     */
    Foods doGetFoodsInfo(Foods foods);

    /**
     * 获取菜品列表
     * @return
     */
    List<Foods> doGetFoodsInfoList();

    /**
     * 查询菜品列表
     * @param foods
     * @return
     */
    List<Foods> doQueryFoodsInfoList(Foods foods);
}